<!--引入init配置文件-->
<?php require "init.php"; ?>

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <link rel="icon" href="./public/home/imgs/logo.jpg">
    <title>小米手机专卖店(ximiao)</title>

    <!-- Bootstrap -->
    <link href="./public/home/css/bootstrap.min.css" rel="stylesheet">
    <link href="./public/home/css/index.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="./public/home/js/html5shiv.min.js"></script>
    <script src="./public/home/js/respond.min.js"></script>
    <![endif]-->
</head>
<body>
<!--引入导航条-->
<?php require "./com/nav.php" ?>
    <h1 class="text-center">&nbsp;</h1>
    <h1 class="text-center">登录</h1>
    <hr>
    <div class="container mt40">
        <div class="row">
            <form class="form-horizontal col-md-6 col-md-offset-2" action="./com/logdo.php"
            method="post">
                <div class="form-group">
                    <label for="name" class="col-sm-4 control-label">
                        用户名:</label>
                    <div class="col-sm-8">
                        <input type="text" class="form-control" id="inputEmail3"
                               name='name' placeholder="请输入用户名">

                    </div>
                </div>
                <br>
                <div class="form-group">
                    <label for="pwd" class="col-sm-4 control-label">密码:</label>
                    <div class="col-sm-8">
                        <input type="password" class="form-control" id="inputPassword3"
                              name="pwd" placeholder="请输入密码">

                    </div>
                </div>
                <br>
                <div class="form-group">
                    <label for="inputPassword3" class="col-sm-4 control-label">验证码:</label>
                    <div class="col-sm-4">
                        <input type="text"  name="vcode" class="form-control">
                    </div>
                    <div class="col-sm-4">
                        <img src="./com/yzm.php" title="点我刷新"
                             onclick="this.src = this.src + '?i='+ Math.random()">
                    </div>
                </div>
                <br>
                <div class="form-group">
                    <div class="col-md-8 col-md-offset-4">
                        <button type="submit" class="btn btn-primary btn-lg btn-block">
                            登录</button>
                        <br>
                        <a href="./reg.php" class="pull-left">立即注册</a>
                        <a href="./getpwd.php" class="pull-right">找回密码</a>
                    </div>
                </div>

            </form>
            <div class="col-md-4">
                <img src="./public/home/imgs/login.png" class="center-block">
            </div>
        </div>

    </div>


<!--引入底部开始-->
<?php require "./com/footer.php" ?>

<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="./public/home/js/jquery.min.js"></script>
<script src="./public/home/js/holder.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="./public/home/js/bootstrap.min.js"></script>
</body>
</html>